package com.tudouji.project.pay.domain;

import com.tudouji.project.bill.domain.Sellitem;
import com.tudouji.project.flow.domain.BasePojo;
import com.tudouji.project.flow.domain.Flowtempnode;

import java.lang.reflect.Field;
import java.math.BigDecimal;
import java.math.BigDecimal;
import java.math.BigDecimal;
import java.util.Date;
import java.util.Date;
import java.util.List;

/**
 * 本文件由系统框架代码生成工具自动生成，请修改此处注释内容
 *
 * @date 2020-07-08 15:14
 * @filename Backinfo.java
 */

public class Backinfo extends BasePojo implements java.io.Serializable {

    private static final long serialVersionUID = 1L;

    private String guid;

    private String customerguid;

    private String orderid;

    private String code;

    private String ordercode;

    private String rcguid;

    private Integer type;

    private Integer count;

    private BigDecimal weight;

    private BigDecimal amount;

    private String payee;

    private String bank;

    private String bankaccount;

    private String remark;

    private Integer paytype;

    private Integer status;

    private Integer[] stats;

    private String operatorid;

    private String operator;

    private String search;

    private Date createtime;

    private Date lastupdate;

    private String statusname;
    private String typename;
    private String customername;
    private String departid;
    private String departname;
    private String paytypename;
    private String[] depids;
    private List<Flowtempnode> nodes;
    private String storeroomname;
    private String sellformdate;

    private BigDecimal applyAmount;

    public BigDecimal getApplyAmount() {
        return applyAmount;
    }

    public void setApplyAmount(BigDecimal applyAmount) {
        this.applyAmount = applyAmount;
    }

    public Integer getCurrency() {
        return currency;
    }

    public void setCurrency(Integer currency) {
        this.currency = currency;
    }

    private Integer currency;
    private List<Sellitem> items;// 采购明细

    public String getStoreroomname() {
        return storeroomname;
    }

    public void setStoreroomname(String storeroomname) {
        this.storeroomname = storeroomname;
    }

    public String getSellformdate() {
        return sellformdate;
    }

    public void setSellformdate(String sellformdate) {
        this.sellformdate = sellformdate;
    }

    public List<Sellitem> getItems() {
        return items;
    }

    public void setItems(List<Sellitem> items) {
        this.items = items;
    }

    public List<Flowtempnode> getNodes() {
        return nodes;
    }

    public void setNodes(List<Flowtempnode> nodes) {
        this.nodes = nodes;
    }

    public String getPaytypename() {
        return paytypename;
    }

    public void setPaytypename(String paytypename) {
        this.paytypename = paytypename;
    }

    public String[] getDepids() {
        return depids;
    }

    public void setDepids(String[] depids) {
        this.depids = depids;
    }
    // 检索条件

    public String getDepartid() {
        return departid;
    }

    public void setDepartid(String departid) {
        this.departid = departid;
    }

    public String getDepartname() {
        return departname;
    }

    public void setDepartname(String departname) {
        this.departname = departname;
    }

    public String getOrdercode() {
        return ordercode;
    }

    public void setOrdercode(String ordercode) {
        this.ordercode = ordercode;
    }
    public String getStatusname() {
        return statusname;
    }

    public void setStatusname(String statusname) {
        this.statusname = statusname;
    }

    public String getTypename() {
        return typename;
    }

    public void setTypename(String typename) {
        this.typename = typename;
    }

    public String getCustomername() {
        return customername;
    }

    public void setCustomername(String customername) {
        this.customername = customername;
    }

    public String getSearch() {
        return search;
    }

    public void setSearch(String search) {
        this.search = search;
    }

    public Integer[] getStats() {
        return stats;
    }

    public void setStats(Integer[] stats) {
        this.stats = stats;
    }

    public String getOrderid() {
        return orderid;
    }

    public void setOrderid(String orderid) {
        this.orderid = orderid;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCustomerguid() {
        return customerguid;
    }

    public void setCustomerguid(String customerguid) {
        this.customerguid = customerguid;
    }

    public String getGuid() {
        return guid;
    }

    public void setGuid(String guid) {
        this.guid = guid;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    @Override
    public String getValueByParam(String param) {
        try {
            Field field = this.getClass().getDeclaredField(param);
            // 设置对象的访问权限，保证对private的属性的访问
            field.setAccessible(true);
            return field.get(this) == null ? "" : field.get(this).toString();
        } catch (Exception e) {
            e.printStackTrace();
            return null;
        }
    }

    public String getRcguid() {
        return rcguid;
    }

    public void setRcguid(String rcguid) {
        this.rcguid = rcguid;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public BigDecimal getWeight() {
        return weight;
    }

    public void setWeight(BigDecimal weight) {
        this.weight = weight;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getPayee() {
        return payee;
    }

    public void setPayee(String payee) {
        this.payee = payee;
    }

    public String getBank() {
        return bank;
    }

    public void setBank(String bank) {
        this.bank = bank;
    }

    public String getBankaccount() {
        return bankaccount;
    }

    public void setBankaccount(String bankaccount) {
        this.bankaccount = bankaccount;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getPaytype() {
        return paytype;
    }

    public void setPaytype(Integer paytype) {
        this.paytype = paytype;
    }

    public String getOperatorid() {
        return operatorid;
    }

    public void setOperatorid(String operatorid) {
        this.operatorid = operatorid;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getLastupdate() {
        return lastupdate;
    }

    public void setLastupdate(Date lastupdate) {
        this.lastupdate = lastupdate;
    }
}